package com.tyut.planeGame.mapper;

import com.tyut.planeGame.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
* @author 84219
* @description 针对表【user】的数据库操作Mapper
* @createDate 2024-06-19 23:36:31
* @Entity generator.domain.User
*/
@Mapper
public interface UserMapper extends BaseMapper<User> {

    @Select("select * from user where username = #{name}")
    User findByUsername(String name);
}




